#include <stdio.h>
#include <stdlib.h>
#include "mergesort.h"


void printArray(int* a, int length)
{
    printf("call printArray\n");
    for (int i = 0; i < length; ++i)
    {
        printf("%d,", a[i]);
    }
    printf("\n");
}

int main(int argc, char const *argv[])
{
    const int length = 10;
    int a[length] = {9,4,3,21,5,7,8,10,1,0};
    int temp[length];
    printArray(a, length);
    qSort(a, 0, 9);
    printArray(a, length);
    return 0;
}